﻿using M_Process.Domain;
using M_Process.Domain.DTO;
using MediatR;

namespace M_Process.API.Appliction.Command.ProcessTasksCommand
{
    /// <summary>
    /// 显示工序任务命令
    /// </summary>
    public class ShowProcessTasksCommand : IRequest<ProcessTasksDto<ProcessTasks>>
    {
        /// <summary>
        /// 任务编号
        /// </summary>
        public string? TaskNumber { get; set; }

        /// <summary>
        /// 任务状态
        /// </summary>
        public string? TaskStatus { get; set; } = "未开始";

        /// <summary>
        /// 页码
        /// </summary>
        public int? PageIndex { get; set; }

        /// <summary>
        /// 每页显示数量
        /// </summary>
        public int? PageSize { get; set; }
    }
}
